package com.mg.admin.service.admin;

import com.mg.admin.bean.admin.Result;
import com.mg.admin.bean.admin.UserVO;
import com.mg.admin.page.PageBean;
import com.mg.admin.page.PageParam;

public interface UserService {
	UserVO selectById(Long id);

    Result<UserVO> login(String userno, String password);

    UserVO findByExample(UserVO userVO);

    PageBean findByParentOrgId(Long orgId, PageParam pageParam);

    void insertOne(UserVO userVO);

    void updateOne(UserVO userVO);

    UserVO findByUserName(String username);

    void delete(Long id);

    void updateByUserName(UserVO userVO);
}
